<template>
    <div>
        aaa
        <p>{{homgMsg}}</p>
        <comB></comB>
    </div>
</template>
<script>
import comB from '@/components/comB'
export default {
    inject: ['for'],
    data(){
        return{
            homgMsg:this.for
        }
    },
    components:{
        comB
    }

}
</script>